import { createApp } from 'vue'
import 'normalize.css'

// 全局注册
// import ElementPlus from 'element-plus'
// import 'element-plus/dist/index.css'

// 针对ElMessage和ElLoading等组件引入样式
// 1.1.全局引入样式(所有样式全部引入)
// import 'element-plus/dist/index.css'
// 1.2.组件样式引入
// import 'element-plus/theme-chalk/el-message.css'
// 1.3.使用vite-plugin-style-import
//  npm install vite-plugin-style-import consola -D
//  在vite.config.ts中配置

import '@/assets/css/inddex.less'
import App from '@/App.vue'
import router from '@/router'
import store from './store'
import icons from './global/register-icons'

const app = createApp(App)
// app.use(ElementPlus)
app.use(icons)
app.use(store)
app.use(router)

app.mount('#app')
